package org.footballmanager.pandafootball.system.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.footballmanager.pandafootball.system.domain.FootUserFormation;
import org.footballmanager.pandafootball.system.form.impl.FootUserFormationSearchForm;
import tk.mybatis.mapper.common.BaseMapper;

import java.io.Serializable;
import java.util.List;

@Mapper
public interface FootUserFormationMapper extends BaseMapper<FootUserFormation> {
    /**
     * 根据条件查询记录列表
     *
     * @param footUserFormationSearchForm 条件
     * @return 记录列表
     */
    List<FootUserFormation> findall(FootUserFormationSearchForm footUserFormationSearchForm);

    /**
     * 根据主键获取记录
     *
     * @param id 主键
     * @return 记录
     */
    FootUserFormation findById(Serializable id);
}